package com.xishu.entity.shop;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity(name="shop_message")
@Table
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShopMessage extends AbstractEntity implements Serializable {

    private static final long serialVersionUID = 109132776077194909L;

    @ApiModelProperty("商店id")
    private Long shopId;

    @ApiModelProperty("用户id")
    private Long customerId;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("消息详情")
    private String message;

    @ApiModelProperty("消息状态 0-未读，1-已读")
    private Integer status;


}
